import request from '../utils/request'
 //查询可识别选项
export const getAllability = (data) => {
  return request({
    url: '/portal/readPicture/getAllability',
    method: 'post',
    data,
  })
}

  export const postReadPicFlag = (data) => {
    return request({
      url: '/portal/readPicture/postReadPicFlag',
      method: 'post',
      data,
    })
  }
  
  export const deprecatedReadPicFlag = (data) => {
    return request({
      url: '/portal/resource/deprecatedReadPicFlag',
      method: 'post',
      data,
    })
  }
  
  export const getReadPicToken = (data) => {
    return request({
      url: '/portal/readPicture/getReadPicToken',
      method: 'post',
      data,
    })
  }

  export const getInfoByReadPicFlag = (data) => {
    return request({
      url: '/portal/readPicture/getInfoByReadPicFlag',
      method: 'post',
      data,
    })
  }
  